package com.mall.service.authority.service;

import com.mall.model.domain.UmsAdminRoleRelation;

import java.util.List;

public interface UmsAdminRoleRelationService {

    //根据adminId查询roleId
    List<UmsAdminRoleRelation> findByAdminId(Long adminId);

    //添加用户关系
    void add(Long adminId, Long roleId);

    //批量删除
    void removeByAdminId(Long adminId);

    //添加角色
    void save(UmsAdminRoleRelation umsAdminRoleRelation);
}
